package org.ddd.book.domain.book.repository;

import org.ddd.book.domain.IBaseRepository;
import org.ddd.book.domain.book.entity.BookroomEntity;

import java.util.List;

/**
 * 图书室资源库
 */
public interface IBookroomRepository extends IBaseRepository<BookroomEntity> {

    List<BookroomEntity> libraryBookroomList(Long libraryId);

    BookroomEntity findByLibraryAndBookroomName(Long libraryId, String bookroomName);

}
